Skip to content

Commit 5d34741

Browse files
authored
Merge pull request #6685 from akatsoulas/update-settings
Set variable only for local env
2 parents 9a3ef3b + 76b8c80 commit 5d34741

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

kitsune/settings.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1336,7 +1336,8 @@ def filter_exceptions(event, hint):
13361336

13371337
USER_INACTIVITY_DAYS = config("USER_INACTIVITY_DAYS", default=1095, cast=int)
13381338

1339-
GOOGLE_APPLICATION_CREDENTIALS = config("GOOGLE_APPLICATION_CREDENTIALS", default="")
1339+
if DEV:
1340+
GOOGLE_APPLICATION_CREDENTIALS = config("GOOGLE_APPLICATION_CREDENTIALS", default="")
13401341
GOOGLE_CLOUD_PROJECT = config("GOOGLE_CLOUD_PROJECT", default="")
13411342

13421343
# shell_plus conf

0 commit comments

Comments
 (0)